# ===========================
#		  Memory Address
# ===========================
addr_world = 0x075f
addr_level = 0x075c
addr_area = 0x0760
addr_life = 0x075a
addr_score = 0x07de
addr_time = 0x07f8
addr_coins = 0x07ed
addr_curr_page = 0x6d
addr_curr_x = 0x86
addr_curr_y = 0x03b8
addr_left_x = 0x071c
addr_y_viewport = 0x00b5
addr_player_state = 0x000e	   # x06 dies, x0b dying
addr_player_status = 0x0756	   # 0 = small, 1 = big, 2+ = fiery
addr_enemy_page = 0x6e
addr_enemy_x = 0x87
addr_enemy_y = 0xcf
addr_enemy_state = 0x1e
addr_enemy_type = 0x16
addr_powerup_page = 0x73
addr_powerup_exist = 0x1b
addr_powerup_type = 0x39
addr_powerup_x = 0x8c
addr_powerup_y = 0xd4
addr_powerup_heading = 0x4b # 1--Right, 2--Left
addr_injury_timer = 0x079e
addr_swimming_flag = 0x0704
addr_tiles = 0x500

# ===========================
#		  Enumeration
# ===========================
empty_terr = 0
pipe_mouse_left = 16
pipe_mouse_right = 17
pipe_up_left = 18
pipe_up_right = 19
pipe_left = 20
pipe_right = 21
anim_brick = 35
flag = 37
normal_brick_light = 81
normal_brick_dark = 82
ground_stone = 84
hidden_star_brick = 87
hidden_coin_brick_light = 88
hidden_powerup_brick = 90
hidden_coin_brick_dark = 93
life_bonus = 96
hard_brick = 97
coin_bonus = 192
powerup_bonus = 193
float_coin = 194



# 0x001B
has_powerup = 46
has_flag = 48
# 0x0039
powerup_type_mushroom = 0
powerup_type_flower = 1
powerup_type_star = 2
powerup_type_life = 3